package com.inspur.ourhis_afterend.Service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.inspur.ourhis_afterend.Entity.Drugs;
import com.inspur.ourhis_afterend.Tools.PageAction;

import java.util.List;

public interface DrugsService {
    IPage<Drugs> findAll(PageAction pageAction) throws Exception;

    List<Drugs> search(String drugsid, String name)throws Exception;

    int add(Drugs drugs)throws Exception;

    int edit(Drugs drugs)throws Exception;

    int del(String drugsid)throws Exception;
}
